<template>
  <el-button type="danger" :size="size"><Icon name="trash" className="w-4 h-4" v-loading.fullscreen.lock="fullscreenLoading"/></el-button>
</template>

<script lang="ts" setup>
import { ElLoading } from 'element-plus'
import { ref } from 'vue'
const fullscreenLoading = ref(false)
defineProps({
  size: {
    type: String,
    default: 'small',
  },
  text: {
    type: String,
    default: '删除',
  },
})
</script>
